package byName;

public class Ostrich extends Animal{
	Ostrich(String name){
		swimBehavior = new SwimNoWay();
		eatBehavior  = new EatHerbivorous();
		moveBehavior = new MoveRun();
		this.name = name;
}

public void display(){
System.out.println("I Ostrich and my name " + name);
}

}
